﻿using System;
using Fuse8.DomainFramework.Domain;

namespace Fuse8.DomainFramework.Practices.Domain.Interfaces
{
	public interface IParameteredCommand<TDomain, TParameter, TKey> : IEntityCommand<TDomain>
		where TDomain : class, IEntityObject<TKey>, new()
		where TParameter : ICommandParameter where TKey : IComparable<TKey>, IEquatable<TKey>
	{
		TParameter Parameter { get; set; }
	}  
}